package com.basic.auth.controller.res;

import java.util.List;

/**
 * 角色数据返回实体
 *
 * @author
 * @version 1.0
 * @Date
 */
public class AuthRoleResForm {
    /**
     * 角色编码
     */
    private String roleCode;
    /**
     * 角色名称
     */
    private String name;
    /**
     * 角色描述
     */
    private String decription;
    /**
     * 能否访问
     */
    private Short canVisit;
    /**
     * 子系统id
     */
    private Short subSystemId;
    /**
     * 系统id
     */
    private Short systemId;
    /**
     * 是否选中
     */
    private Integer isChecked;
    /**
     * 系统名称
     */
    private String systemName;

    /**
     * 是否默认
     */
    private Short isDefault;
    /**
     * 下属人员数量
     */
    private int count;

    /**
     * 功能列表
     */
    private List<String> funcList;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<String> getFuncList() {
        return funcList;
    }

    public void setFuncList(List<String> funcList) {
        this.funcList = funcList;
    }

    public Short getIsDefault() {
        return isDefault;
    }

    public void setIsDefault(Short isDefault) {
        this.isDefault = isDefault;
    }

    public String getSystemName() {
        return systemName;
    }

    public void setSystemName(String systemName) {
        this.systemName = systemName;
    }

    public Integer getIsChecked() {
        return isChecked;
    }

    public void setIsChecked(Integer isChecked) {
        this.isChecked = isChecked;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDecription() {
        return decription;
    }

    public void setDecription(String decription) {
        this.decription = decription;
    }

    public Short getCanVisit() {
        return canVisit;
    }

    public void setCanVisit(Short canVisit) {
        this.canVisit = canVisit;
    }

    public Short getSubSystemId() {
        return subSystemId;
    }

    public void setSubSystemId(Short subSystemId) {
        this.subSystemId = subSystemId;
    }

    public Short getSystemId() {
        return systemId;
    }

    public void setSystemId(Short systemId) {
        this.systemId = systemId;
    }

    @Override
    public String toString() {
        return "AuthRoleResForm{" +
                "roleCode='" + roleCode + '\'' +
                ", name='" + name + '\'' +
                ", decription='" + decription + '\'' +
                ", canVisit=" + canVisit +
                ", subSystemId=" + subSystemId +
                ", systemId=" + systemId +
                ", isDefault=" + isDefault +
                '}';
    }
}
